package game.adm.dao.factory;

import game.adm.dao.ChargeDAO;
import game.adm.dao.impl.ChargeDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class ChargeFactory {

	private static ChargeFactory factory = new ChargeFactory();

	public static void setFactory(ChargeFactory factory) {
		ChargeFactory.factory = factory;
	}

	public static ChargeFactory getFactory() {
		return factory;
	}

	public ChargeDAO getChargeDAO() throws ProjectXSystemException {
		return new ChargeDAOImpl();
	}
}
